Evaluate the definite integral $\int_{0}^{1} \left(x e^{x} + \sin \frac{\pi x}{4}\right) dx$.

Vedclass pdf generator app on play store
Vedclass iOS app on app store
(D) Let $I = \int_{0}^{1} \left(x e^{x} + \sin \frac{\pi x}{4}\right) dx$.
Using the linearity property of integrals,we have:
$I = \int_{0}^{1} x e^{x} dx + \int_{0}^{1} \sin \frac{\pi x}{4} dx$.
For the first part,we use integration by parts: $\int u dv = uv - \int v du$.
Let $u = x$ and $dv = e^{x} dx$. Then $du = dx$ and $v = e^{x}$.
$\int x e^{x} dx = x e^{x} - \int e^{x} dx = x e^{x} - e^{x}$.
For the second part:
$\int \sin \frac{\pi x}{4} dx = -\frac{4}{\pi} \cos \frac{\pi x}{4}$.
Combining these,the antiderivative $F(x)$ is:
$F(x) = x e^{x} - e^{x} - \frac{4}{\pi} \cos \frac{\pi x}{4}$.
Applying the limits from $0$ to $1$:
$I = F(1) - F(0) = \left(1 \cdot e^{1} - e^{1} - \frac{4}{\pi} \cos \frac{\pi}{4}\right) - \left(0 \cdot e^{0} - e^{0} - \frac{4}{\pi} \cos 0\right)$.
$I = \left(e - e - \frac{4}{\pi} \cdot \frac{1}{\sqrt{2}}\right) - \left(0 - 1 - \frac{4}{\pi} \cdot 1\right)$.
$I = -\frac{2\sqrt{2}}{\pi} + 1 + \frac{4}{\pi} = 1 + \frac{4 - 2\sqrt{2}}{\pi}$.

Explore More

Similar Questions

The value of $\int_0^1 \frac{dx}{e^x + e^{-x}}$ is

If $a_n = \int_0^{\frac{\pi}{2}} \frac{\sin^2 nx}{\sin x} dx$,then $a_2 - a_1, a_3 - a_2, a_4 - a_3$ are in

Considering four sub-intervals,the value of $\int_{0}^{1} \frac{1}{1+x} d x$ by Trapezoidal rule,is

Evaluate the definite integral $\int_{-2}^{2.24} [x] \, dx$,where $[x]$ denotes the greatest integer function.

Let $f(x) + 2f\left(\frac{1}{x}\right) = x^2 + 5$ and $2g(x) - 3g\left(\frac{1}{x}\right) = x$ for $x > 0$. If $\alpha = \int_1^2 f(x) dx$ and $\beta = \int_1^2 g(x) dx$,then the value of $9\alpha + \beta$ is:

Vedclass Products

For Students

Vedclass Test Series

Mock tests in real JEE/NEET style with performance analysis. 5-day free trial.

Start Free Trial
For Teachers

Exam Paper Generator

Generate Set A/B/C/D exam papers from 7.5L+ questions in 2 minutes. 3 chapters free.

Try Free
For Institutes

Online Exam Module

Live online exams with unlimited students, 360° analytics & white-label branding.

See Demo